import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/view/Home'
import OrderList from '@/view/order/OrderList'
import FinishList from '@/view/order/FinishList'
import TakingList from '@/view/order/TakingList'
import MonitorList from '@/view/order/MonitorList'
import SupplierList from '@/view/supplier/SupplierList'
import BalanceList from '@/view/balance/BalanceList'
import CollList from '@/view/balance/CollList'
import FunList from '@/view/balance/FunList'
import SettleList from '@/view/balance/SettleList'
import FinList from '@/view/balance/FinList'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/orderList',
      name: 'OrderList',
      component: OrderList
    },
    {
      path: '/finishList',
      name: 'FinishList',
      component: FinishList
    },
    {
      path: '/takingList',
      name: 'TakingList',
      component: TakingList
    },
    {
      path: '/monitorList',
      name: 'MonitorList',
      component: MonitorList
    },
    {
      path: '/supplierList',
      name: 'SupplierList',
      component: SupplierList
    },
    {
      path: '/balanceList',
      name: 'BalanceList',
      component: BalanceList
    },
    {
      path: '/collList',
      name: 'CollList',
      component: CollList
    },
    {
      path: '/funList',
      name: 'FunList',
      component: FunList
    },
    {
      path: '/settleList',
      name: 'SettleList',
      component: SettleList
    },
    {
      path: '/finList',
      name: 'FinList',
      component: FinList
    }
  ]
})
